<template>
	<view class="shop-cards">
		<uni-grid :column="2" class="shop-cards-grid" :showBorder="false" :square="false">
			<uni-grid-item v-for="(item,index) in goodsList" :key="index" class="shop-cards-grid-item" >
				<card :goods="item" class="shop-cards-grid-item-card"></card>
			</uni-grid-item>
		</uni-grid>
	</view>
</template>

<script>
	export default {
		props:{
			goodsList:{
				type:Array
			}
		},
		data() {
			return {
				gridWidth:187,
			};
		},
		created() {
		},
		methods:{
			
		}
	}
</script>

<style lang="scss">
	.shop-cards{
		.shop-cards-grid{
			.shop-cards-grid-item{
				.shop-cards-grid-item-card{
					
				}
			}
		}
	}
</style>
